package com.trex.modules.tbl.replyform.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.trex.modules.tbl.entity.TblXdLjzyjl;
import com.trex.modules.tbl.replyform.entity.TblXdJxchsd;
import org.apache.ibatis.annotations.Param;

/**
 * 检修车回送单DAO接口
 * @author jy
 * @version 2022-12-09
 */
@MyBatisDao
public interface TblXdJxchsdDao extends CrudDao<TblXdJxchsd> {
	public void deleteById(String[] ids, @Param("userId") String userId, @Param("userName") String userName);
	
	public Map<String, Object> updateMess(Map<String, Object> map);
	
	public Map<String, Object> confirmData(Map<String, Object> map);
	
	public Map<String, Object> cancelData(Map<String, Object> map);

	String findFaultName(String faultCode);

	String findRepair(String repairMethodDetail);

	TblXdLjzyjl selectData(String ljzybh);

	TblXdJxchsd selectVehicleData(String s);

	List<TblXdJxchsd> findList(TblXdJxchsd tblXdJxchsd);

	void receiveData(String recId, String uuid , String wagonno, String wagonTypeCode, String wagonTypeName, String wagonGroupCode, String wagonGroupName, String stationCode, String station,String stationTime ,String areaCode, String area, String yardnoCode, String yardno, String lineCode, String line, String sendStationCode, String sendStation, String arriveStationCode, String arriveStation,String focusArea, String goodsname, String isNoPeak,int seq);

	void updateInfo(String recId,String status, String stationUserCode, String stationUserName, Date stationTime);

	String selectRepairMethodDetail(String repairMethodDetailCode);

	int selectByRecId(String s);

	void updateFocusArea(@Param("s") String s,@Param("focusArea") String focusArea);

	void insertFocusArea(String s, String userName, String userId,Date now,String goodsName,String lineCode,String line, Date now1,String wagonno);

	void endFocusArea(String s, String userName, String userId,Date now,String goodsName,String lineCode,String line, Date now1,String wagonno);

	List<TblXdJxchsd> findList1(TblXdJxchsd tblXdJxchsd);

	List<TblXdJxchsd> findList2(@Param("ljzybh") String  ljzybh);

	List<TblXdJxchsd> findList3(TblXdJxchsd tblXdJxchsd);

	void updateRemark(@Param("s")String s,@Param("isNopeak") String isNopeak, @Param("speedLimit")String speedLimit,@Param("remark") String remark);
}